package com.xhwl.logistics.service.cent.server;

import com.xhwl.common.dto.cent.vehicle.feign.CreateVehicleAccessRecordForInNanTouFeignDTO;
import com.xhwl.common.dto.cent.vehicle.feign.CreateVehicleAccessRecordForOutNanTouFeignDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;

import java.util.List;

//@RestController
public interface IVehicleAccessRecordNanTouFeignService {

    @PostMapping("/vehicle-feign/nan-tou/access-record-for-in/add")
    void addAccessRecordsForIn(@RequestPart("in")List<CreateVehicleAccessRecordForInNanTouFeignDTO> createVehicleAccessRecordForInNanTouFeignDTOList);

    @PostMapping("/vehicle-feign/nan-tou/access-record-for-out/add")
    void addAccessRecordsForOut(@RequestPart("out")List<CreateVehicleAccessRecordForOutNanTouFeignDTO> createVehicleAccessRecordForOutNanTouFeignDTOList);

}
